﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SPSiteMetadata.aspx.cs" Inherits="Mystery.SharePoint.Layouts.SPSiteMetadata" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<asp:Literal ID="Literal1" runat="server" Text="<%$SPMResources:SPM.Foundation,Page_WebMetadata_Title%>" /> 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
<asp:Literal ID="Literal2" runat="server" Text="<%$SPMResources:SPM.Foundation,Page_WebMetadata_Title%>" /> 
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <asp:Literal ID="Literal3" runat="server" Text="<%$SPMResources:SPM.Foundation,Page_WebMetadata_Description%>" />
</asp:Content>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">

	<table border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet" width="100%">
		<!-- Owner information -->
		<wssuc:InputFormSection 
			runat="server" 
			Title="<%$SPMResources:SPM.Foundation,InputFormSection_SiteOwner_Title%>" 
			Description="<%$SPMResources:SPM.Foundation,InputFormSection_SiteOwner_Description%>"
            Id="AdministrationSection">
            <template_inputformcontrols>
				<wssuc:InputFormControl 
					LabelText="<%$SPMResources:SPM.Foundation,InputFormControl_SiteOwner_Title%>" 
					runat="server">
                    <Template_Control>
                        <SharePoint:PeopleEditor 
							class="ms-input" 
							AllowEmpty="false"
							MultiSelect="false" 
							SelectionSet="User" 
							PlaceButtonsUnderEntityEditor="false" 
							ID="OwnerEditor"
							runat="server" />
                    </Template_Control>                          
                </wssuc:InputFormControl>               
            </template_inputformcontrols>
        </wssuc:InputFormSection>

		<%-- Use a delegate control to include additional metadata depending on the type of site --%>
		<SharePoint:DelegateControl 
			ID="AdditionalMetadata" 
			runat="server" 
			AllowMultipleControls="true"
			ControlId="AdditionalSiteMetadata" 
			/>
	
		<wssuc:ButtonSection 
			runat="server" 
			ShowSectionLine="false"
			ShowStandardCancelButton="false">
			<Template_Buttons>
				<asp:Button 
					UseSubmitBehavior="false" 
					runat="server" 
					class="ms-ButtonHeightWidth" 
					OnClick="BtnOK_Clicked" 
					Text="<%$Resources:wss,multipages_okbutton_text%>" 
					id="BtnCreateSite" 
					accesskey="<%$Resources:wss,okbutton_accesskey%>" />
				<asp:Button 
					UseSubmitBehavior="false" 
					runat="server" 
					class="ms-ButtonHeightWidth" 
					OnClick="CancelButtonClick" 
					Text="<%$Resources:wss,multipages_cancelbutton_text%>" 
					id="BtnCancel" 
					accesskey="<%$Resources:wss,cancelbutton_accesskey%>"/>
			</Template_Buttons>
		</wssuc:ButtonSection>
	</table>
</asp:Content>
